package com.sc.nft.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.MallDrawActivityBase;
import com.sc.nft.entity.dto.draw.activity.MallDrawActivityDTO;
import com.sc.nft.entity.vo.draw.activity.MallDrawActivityBaseVO;

import java.util.List;

public interface MallDrawActivityBaseService {

    /**
     * 分页查询
     *
     * @param toMp
     * @return
     */
    Page<MallDrawActivityBaseVO> page(Page toMp);

    MallDrawActivityBase getById(Long id);

    List<MallDrawActivityBase> listByIds(List<Long> id);

    Page<MallDrawActivityBase> listEnabledActivity(Page page);
    
    Boolean save(MallDrawActivityDTO mallDrawActivityDTO);

    MallDrawActivityDTO get(Long id);
}
